package com.example.java;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        System.out.println("this is a bug");

        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        if( i %2 == 0){
            System.out.println("0");
        }else {
            System.out.println("1");
        }

    }
}
